package com.credithc.customers.base.mapper;

import com.credithc.baseserv.core.mapper.BsBaseMapper;
import com.credithc.customers.base.po.CustomerRelationInfoPo;
import com.credithc.customers.base.ro.CustomerRelationInfoRo;
import com.credithc.customers.base.vo.CustomerRelationInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Title:
 * @Author: Denghx
 * @Date: 2018/12/3 2:39
 * @Description: com.credithc.customers.base.mapper
 * @Version: V1.0.0
 */
@Mapper
@Repository
public interface CustomerRelationInfoMapper extends BsBaseMapper<CustomerRelationInfoPo> {

    List<CustomerRelationInfoVo> searchPage(@Param("customerRelationInfoRo") CustomerRelationInfoRo customerRelationInfoRo, @Param("rowBounds") RowBounds rowBounds);

    Integer searchCount(CustomerRelationInfoRo customerRelationInfoRo);

}
